import VueRouter from 'vue-router'

import Poster from '../pages/Poster.vue'
import SiteSurvey from '../pages/SiteSurvey.vue'
import NbrPlan from '../pages/NbrPlan.vue'
import ApmDesign from '../pages/ApmDesign.vue'

export default new VueRouter({
  routes:[
    {
      path: '/',
      component: Poster,
      meta:{
        index: 0
      }
    },
    {
      path: '/survey',
      component: SiteSurvey,
      meta:{
        index: 1
      }
    },
    {
      path: '/plan',
      component: NbrPlan,
      meta:{
        index: 2
      }
    },
    {
      path: '/design',
      component: ApmDesign,
      meta:{
        index: 3
      }
    }
  ]
})